#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Author: 钉钉或微信pythontesting 钉钉群21734177 技术支持qq群：630011153 144081101
# CreateDate: 2019-2-21
import pypinyin


def hp(word):
    s = ''
    for i in pypinyin.pinyin(word, style=pypinyin.NORMAL):
        s += ''.join(i)
    return s


def trans(num):
    s = ''
    num = str(num)
    han = "零一二三四五六七八九"
    for i in range(len(num)):
        numsplit = int(num[i])
        s += han[numsplit]
    return s
